'use strict';
var config = require('../../config.js');
var Schema = require('jugglingdb').Schema;

//设置EC db链接
var schema = new Schema('mysql', config.db.ec);
var M = require('../../utils/schema/simpleModel')(schema.adapter);
module.exports = M;
require('./func/weistore')(M);
require('./func/tuangou')(M);
require('./func/act')(M);
require('./func/foretaste')(M);
require('./func/order')(M);
require('./func/user')(M);
require('./func/analysis')(M);
require('./func/timing')(M);
require('./func/server')(M);